#define _CRT_SECURE_NO_WARNINGS
#include"swap.h"
//写函数的定义:
void swap(int num1, int num2)
{
	cout << "交换前: " << endl;
	cout << "num1= " << num1 << endl;
	cout << "num2= " << num2 << endl;
	int temp = num1;
	num1 = num2;
	num2 = temp;
	cout << "交换后: " << endl;
	cout << "num1= " << num1 << endl;
	cout << "num2= " << num2 << endl;
	//返回值不需要的时候可以不写return
}